package com.kj.tms.system.service.basicinfo.dao;


import com.kj.tms.common.bean.dao.BaseMapper;
import com.kj.tms.pri.system.basicinfo.dto.BaseMessageDto;
import com.kj.tms.pri.system.basicinfo.dto.ShareholderDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ProjectName:
 * @Package: com.hongtu.tms.basicinfo.dao
 * @ClassName: TaxIdentifyMapper
 * @Description: 基础信息
 * @Author: yangruidon
 * @CreateDate:
 * @UpdateUser:
 * @UpdateDate:
 * @UpdateRemark:
 * @Version: 1.0
 * Copyright: 北京宏图天安 Copyright (c) 2017
 */
@Repository
public interface BaseMessageMapper  extends BaseMapper<ShareholderDto> {
     /**
     * @Method      save
     * @Param       dto 基础信息
     * @Return
     * @Exception
     * @Description [保存企业基础信息]
     * @Author      yangruidong
     * @Version     1.0
     * @Date        2018/3/28 14:33
     */
     void save(BaseMessageDto dto);
     /**
      * @Method      deleteShareholder
      * @Param       matterId 事项id
      * @Return
      * @Exception
      * @Description [删除股东信息]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     void deleteShareholder(@Param("matterId") String matterId);
     /**
      * @Method      update
      * @Param       dto 基础信息
      * @Return
      * @Exception
      * @Description [更新基础信息]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     void update(BaseMessageDto dto);
     /**
      * @Method      updateShareholder
      * @Param       dto 股东信息
      * @Return
      * @Exception
      * @Description [更新股东信息]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     void updateShareholder(ShareholderDto dto);

     /**
      * @Method      updateA0000002
      * @Param       dto 股东信息
      * @Return
      * @Exception
      * @Description [更新基础信息表中的股东信息]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     void updateA0000002(ShareholderDto dto);
     /**
      * @Method      insetShareholder
      * @Param       dto 股东信息
      * @Return
      * @Exception
      * @Description [新增股东信息]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     void insetShareholder(ShareholderDto dto);
     /**
      * @Method      ListShareholder
      * @Param       dto 股东信息
      * @Return
      * @Exception
      * @Description [查询股东信息list]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     List<ShareholderDto> ListShareholder(ShareholderDto dto);
     /**
      * @Method      BaseMessageDto
      * @Param       dto 股东信息
      * @Return
      * @Exception
      * @Description [查询单个股东信息]
      * @Author      yangruidong
      * @Version     1.0
      * @Date        2018/3/28 14:33
      */
     BaseMessageDto getBaseMessage(BaseMessageDto dto);
}
